/**
 * @author:linjiye
 * @date:2025/1/8
 * @desc:
 **/

import {StyleSheet, Text, View} from 'react-native'
import React from 'react'
import { Tabs } from '@ant-design/react-native'

type Props = {}

const FcTabs = ({tabs,onTabClick}: Props) => {
    const handleClick = (val,index: number) => {
        onTabClick(val,index)
    }
    return (
        <Tabs tabs={tabs} onTabClick={handleClick} ></Tabs>
    )
}

export default FcTabs

const styles = StyleSheet.create({
    container: {
        // flex: 1,
        // justifyContent: "center",
        // alignItems: "center",
    }
})